package cn.kgc.hotel.entity;

import lombok.Getter;
import lombok.Setter;
import lombok.Value;
import org.apache.ibatis.type.Alias;
import org.springframework.stereotype.Component;

@Component
@Setter
@Getter
@Alias("RoomType")
//房型实体类
public class RoomType {
    //房型编号
    private Integer typeId;
    //房型名称
    private String type;
    //床位数
    private Integer bedNum;
    //价格
    private double price;
    //可住人数
    private Integer occupantsNum;
    //面积
    private String area;

    //空闲房间数量
    private Integer emptyRoomNum;
}
